package com.cloudshadow.platform.server.common.base.req;


import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * Created by apple on 17/3/4.
 */
public class PageReq extends BaseReq {
//    @ApiModelProperty(value = "一页显示数量", allowableValues = "10", required = true)
    @NotNull
    private Integer pageSize;
//    @ApiModelProperty(value = "第几页", allowableValues = "1", required = true)
    @NotNull
    private Integer pageNo;
//    @ApiModelProperty(value = "排序字段", allowableValues = "id", required = true)
    private String sort;

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

}
